import type { IQuery, TableResponse } from '@/api/config/types';
import axios from 'axios';

export interface QueueUpgrade {
  queueId: string;
  tagCode: string;
  stationNum: string;
  sendTime: string;
  doneTime: null;
  retryTimes: number;
  fwVersion: string;
  fwTarget: string;
  status: string;
  username: null;
  operator: null;
  deptId: string;
}
export const queueUpgradeList = (query?: IQuery) => {
  return axios.get<TableResponse<QueueUpgrade>>(`/queue/upgrade/list`, {
    params: query,
  });
};
